package com.baichang.taoshunda.dao;

import com.baichang.framework.dao.BaseDao;
import com.baichang.taoshunda.entity.FreezeOrder;

import java.util.List;


/**
 * Created by ${wushenglu} on 2018/8/10.
 */
public interface FreezeOrderDao extends BaseDao<FreezeOrder> {
    /**
     * 查询所有到期的冻结订单
     *
     * @return
     */
    List<FreezeOrder> getFreezeOrder();

    /**
     * 判断冻结订单内是否存在此订单
     *
     * @param orderNumber
     * @return
     */
    FreezeOrder getFreezeOrderByOrderNumber(String orderNumber);
}
